/*
 * @Descripttion:
 * @version:
 * @Author: Jianyong Wang
 * @Date: 2020-06-04 15:46:42
 * @LastEditors: Yang Zhang
 * @LastEditTime: 2021-12-02 23:09:15
 */
import { IStore } from './types.d'

const getters = {
  token: (state: IStore) => state.user.accessToken,
  user: (state: IStore) => state.user.userInfo,
}
export default getters
